package net.thxjj.adminServer.service;

import net.thxjj.adminServer.entity.onenet.OnetEvent;
import net.thxjj.adminServer.util.ParameterMap;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface IDevOneNetLogService {
    public void addEvent(List<OnetEvent> list);


    public void mqAddDevLog(OnetEvent devLog);

    public OnetEvent getSmokeStatus(String deviceId);


    public OnetEvent getSmokeLoginEvent(String deviceId);


    public ParameterMap isMultiLoginError(String deviceId);


    public List<List<Object>> getLoginErrList(String device_id);


    public ParameterMap HeartBeat(String device_id);


    public List<OnetEvent> getSmokeStatusList(String device_id,long start_time,long end_time);


    public List<OnetEvent> getSmokeAllDataList(String device_id,long start_time,long end_time);

    public OnetEvent getSmokeNewestStatus(String device_id,long time);

    public void updateOnlineStatus(boolean flag,String deviceId,long timestamp);
}
